package com.doyens.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel(value = "教学周期实体类")
@TableName(value = "sch_teachingcycle")
public class TeachingCycle implements Serializable {

    @ApiModelProperty(value = "教学周期主键id")
    @TableId(value = "teaching_cycle_id",type = IdType.AUTO)
    private Integer teachingCycleId;

    @ApiModelProperty(value = "教学周期")
    private String teachingCycle;

    @ApiModelProperty(value = "开始时间")
    private String startTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
